package com.guli.eduorder;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: OrdersApplication 
 * @Description: TODO
 * @author: liuzg
 * @Date: 2021/3/31 10:24
 * @Version: v1.0
 */
@SpringBootApplication
@EnableDiscoveryClient // nacos服务注册
@EnableFeignClients // feign服务调用
@ComponentScan(basePackages = {"com.guli"})
@MapperScan("com.guli.eduorder.mapper")
public class OrdersApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrdersApplication.class, args);
    }

}
